home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2002 #11 / Amiga Plus CD - 2002 - No. 11.iso / Tools / MorphOS / Epic4_mos / share / epic / help / 5_programming / eval < prev    next >
Encoding:
Text File  |  2002-10-28  |  834 b   |  24 lines

  1. Synopsis:
  2.    eval <commands>
  3.  
  4. Description:
  5.    EVAL takes the commands given it and passes them through EPIC's internal
  6.    inline parser before executing them.  This means that variables will be
  7.    expanded once, and the command terminator (;) is honored.  This has the
  8.    same effect as executing a command with INPUT_ALIASES turned on.
  9.  
  10. Examples:
  11.    To force the display of a variable when not inside an alias:
  12.       eval echo The variable's value is $foo
  13.  
  14. See Also:
  15.    set(4) input_aliases
  16.  
  17. Other Notes:
  18.    Care should be taken when using EVAL with untrusted input.  If EVAL
  19.    must be used, it is important to first strip out any characters that
  20.    have special meaning to the inline parser, such as ';'.  Using EVAL in
  21.    this manner can very easily lead to a hijacked client or compromised
  22.    account.
  23.  
  24.